package me.spring.cloud.components.starter.swagger.gateway.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @description: swagger 文档配置
 * @author: luffy
 * @create: 2018-09-11 15:14
 **/
@Data
@ConfigurationProperties(prefix = SwaggerProperties.prefix)
public class SwaggerProperties {
    public final static String prefix = "swagger.routes";

    /** 网关是否开启swagger路由 */
    private boolean enable = false;

    /** 网关swagger路由地址配置 */
    private ServerDocProperties[] client = {};
}
